# Note: make sure there is no leanring-merge branch online.

# Create a local branch
git branch learning-merge

# Checkout learning-merge
git checkout learning-merge

# Create a file
echo "Learning Merge" > merge

# Stage file merge
git add merge

# Commit 
git commit -m "Add merge"

# Submit this local branch
git push origin learning-merge

# Merge this branch to master
git checkout master && git merge learning-merge

# Then remove Branch learning-merge
git branch -D learning-merge && git push -d origin learning-merge

# Finally remove merge from repo
rm merge && git add merge && git commit -m "Remove merge merged from branch [learning-merge]." && git push